package com.mooc.lib_user.bind

import androidx.databinding.BindingAdapter
import com.mooc.lib_network.imgload.ImageLoad
import de.hdodenhof.circleimageview.CircleImageView

class UserImgBind {

    companion object{
        @JvmStatic
        @BindingAdapter("imgsrc")
        fun circleImgBind(img : CircleImageView,imgsrc : String){
            ImageLoad.loadMatch(imgsrc,img)
        }
    }

}